package com.languohui.lgh.client.impl;

import com.languohui.lgh.client.RedisClient;
import org.springframework.stereotype.Component;

@Component
public class RedisClientFallback implements RedisClient {

    @Override
    public void setValue(String key, String value) {
        System.out.println("保存成功");
    }

    @Override
    public String getValue(String key) {
        return "获取失败";
    }
}
